import request from '@/utils/request'

// 查询学生课程练习列表
export function liststudentCourseQuestion(query) {
  return request({
    url: '/system/studentCourseQuestion/list',
    method: 'get',
    params: query
  })
}

// 查询学生课程练习详细
export function getstudentCourseQuestion(id) {
  return request({
    url: '/system/studentCourseQuestion/' + id,
    method: 'get'
  })
}

// 新增学生课程练习
export function addstudentCourseQuestion(data) {
  return request({
    url: '/system/studentCourseQuestion',
    method: 'post',
    data: data
  })
}

// 修改学生课程练习
export function updatestudentCourseQuestion(data) {
  return request({
    url: '/system/studentCourseQuestion',
    method: 'put',
    data: data
  })
}

// 删除学生课程练习
export function delstudentCourseQuestion(id) {
  return request({
    url: '/system/studentCourseQuestion/' + id,
    method: 'delete'
  })
}

// 导出学生课程练习
export function exportstudentCourseQuestion(query) {
  return request({
    url: '/system/studentCourseQuestion/export',
    method: 'get',
    params: query
  })
}